import request from '@/utils/request'

export default {


    //登录方法
    submitLoginUser(userInfo) {

        return request({

            url: `/ucenterservice/ucenter-member/login`,
            method: "post",
            data: userInfo
        })
    },

    //根据token获取用户信息
    getLoginUserInfo() {

        return request({

            url: `/ucenterservice/ucenter-member/getUserInfo`,
            method: "get"
        })

    }
}